DevJourney

Python/VIT/sem-1/ex-15/4. Lambda function to multiply two arguments/Lambda function to multiply two arguments.py

func = lambda x, y: x * y

x = int(input("Enter number 1: "))
y = int(input("Enter number 2: "))
res = func(x,y)
print(f"{x} X {y} = {res}")
View on GitHub